package com.example.demo.jsonException;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class JsonHelloController {
	@RequestMapping("/json")
	public String json() throws MyException {
		throw new MyException("发生错误2");
	}
}
